package cn.oscar.service;

import com.baomidou.mybatisplus.extension.service.IService;
import commonUtils.entities.Comment;
import commonUtils.entities.Restful;

import java.util.List;

public interface CommentService extends IService<Comment> {
    Restful<List<Comment>> selectCommentByBlogId(Long id);

    Restful<String> addComments(Comment comment);

    Restful<String> deleteComment(Comment comment);
}
